package _3ChapterThree._2ReplaceDataValueWithObject.newObject;

public class Order {
    private Customer _customer;

    public Order(String customerName) {
        this._customer = new Customer(customerName);
    }

    public Customer get_customer() {
        return _customer;
    }

    public void setCustomer(String customerName) {
        this._customer = new Customer(customerName);
    }

    public String getCustomerName() {
        return _customer.get_name();
    }

}
